package com.jgzx.redis.param;

/**
 * @author jackesy
 * @className: ParamKeyEnum
 * @description: 参数配置key枚举类
 * @create 2021/6/16 1:51 下午
 **/
public enum ParamKeyEnum {

    GXBG_OVER_PLAN_QUANTITY_PERCENTAGE("gxbg_over_plan_quantity_percentage", "工序报工超计划数量百分比"),
    GXBG_NORMAL_LESS_THAN_PREVIOUS_PROCESS("gxbg_normal_less_than_previous_process", "工序报工正品数量须小于上工序正品数量"),
    PURCHASE_IN_STOCK_REQUIRED_PURCHASE_ORDER("purchase_in_stock_required_purchase_order", "采购入库必有采购订单"),
    PURCHASE_IN_STOCK_LESS_OR_EQUAL_ORDER("purchase_in_stock_less_or_equal_order", "采购入库数量须小于等于订单数量"),
    SALE_OUT_STOCK_REQUIRED_SALE_ORDER("sale_out_stock_required_sale_order", "销售出库必有销售订单"),
    SALE_OUT_STOCK_LESS_OR_EQUAL_ORDER("sale_out_stock_less_or_equal_order", "销售出库数量须小于等于订单数量"),
    SALE_PRICE_NO_LESS_THAN_MIN_SALE_PRICE("sale_price_no_less_than_min_sale_price", "销售价格不能低于最低销售价格"),
    SALE_ORDER_ENABLE_USD_EXCHANGE_RATE("sale_order_enable_usd_exchange_rate", "启用销售订单单价美元对人民币汇率"),
    SALE_ORDER_DEFAULT_PRICE("sale_order_default_price", "销售订单单价默认"),
    COST_ACCOUNTING_METHOD("cost_accounting_method", "成本核算方式"),
    AUTO_GENERATE_RECEIVABLE("auto_generate_receivable", "自动生成应收单"),
    AUTO_GENERATE_PAYABLE("auto_generate_payable", "自动生成应付单"),
    YUNMA_DATA_SYNCHRONOUS("yunma_data_synchronous", "云码数据同步"),
    ENABLE_SHORT_URL("enable_short_url", "启用短地址"),
    ;

    final String key;
    final String name;

    ParamKeyEnum(String key, String name) {
        this.key = key;
        this.name = name;
    }

    public String getKey() {
        return this.key;
    }

    public String getName() {
        return this.name;
    }
}
